package project.view;

import java.text.ParseException;
import java.util.GregorianCalendar;

import project.controllers.sort.SortObjectBy;
import project.model.Garage;
import project.model.IGarage;
import project.model.IMaster;
import project.model.IOrder;
import project.model.Master;
import project.model.Order;

public class Test {
	
	
	public static void main(String args[]) throws NumberFormatException, ParseException {
		Autoservice aut = new Autoservice(args[0],args[1],args[2]);
		System.out.println("lala");
	  /*  IMaster master1 = new Master("Sasha");
		IMaster master2 = new Master("Lesha");
		IGarage garage1 = new Garage(1);
		IGarage garage2 = new Garage(2);
		IOrder order1 = new Order(1, new GregorianCalendar(2014, 04, 20));
		order1.setAllData(new GregorianCalendar(2014, 05, 15),
				new GregorianCalendar(2014, 04, 16), 200);
		order1.sendMasterGarage(master1, garage1);
		;
		IOrder order2 = new Order(2, new GregorianCalendar(2014, 03, 20));
		order2.setAllData(new GregorianCalendar(2014, 06, 20),
				new GregorianCalendar(2014, 03, 20), 400);
		order2.sendMasterGarage(master2, garage2);

		aut.addOrder(order1);
		aut.addOrder(order2);
		aut.addMaster(master1);
		aut.addMaster(master2);
		aut.addGarage(garage1);
		aut.addGarage(garage2);
		aut.resaveData();
		aut.SortMaster(SortObjectBy.SORT_MASTER_BY_NAME);*/
		aut.getNextFreeDate();
		
		
		
			

		
		
		
		
		
		
		
		
		

	}
}
